package site.wlwsjsx.iot_backend.dto;

import lombok.Data;

/**
 * 实验室工位统计DTO
 * 用于返回指定实验室的总工位数和当前使用中的工位数
 */
@Data
public class LabWorkstationStatsDTO {
    private Integer labId;              // 实验室ID
    private String labName;             // 实验室名称
    private Integer totalWorkstations;  // 总工位数
    private Integer activeWorkstations; // 当前正式使用中的工位数

    public LabWorkstationStatsDTO() {
    }

    public Integer getLabId() {
        return labId;
    }

    public void setLabId(Integer labId) {
        this.labId = labId;
    }

    public String getLabName() {
        return labName;
    }

    public void setLabName(String labName) {
        this.labName = labName;
    }

    public Integer getTotalWorkstations() {
        return totalWorkstations;
    }

    public void setTotalWorkstations(Integer totalWorkstations) {
        this.totalWorkstations = totalWorkstations;
    }

    public Integer getActiveWorkstations() {
        return activeWorkstations;
    }

    public void setActiveWorkstations(Integer activeWorkstations) {
        this.activeWorkstations = activeWorkstations;
    }

    @Override
    public String toString() {
        return "LabWorkstationStatsDTO{" +
                "labId=" + labId +
                ", labName='" + labName + '\'' +
                ", totalWorkstations=" + totalWorkstations +
                ", activeWorkstations=" + activeWorkstations +
                '}';
    }
}
